package com.zhima.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhima
 * @since 2023-08-23
 */
@Data
@TableName("oj_role_resource")
@ApiModel(value = "OjRoleResource对象", description = "")
public class OjRoleResource implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色id")
    @TableField("role_id")
    private Integer roleId;

    @ApiModelProperty("资源id")
    @TableField("resource_id")
    private Integer resourceId;
}
